<?php
include_once './config.php';
$arr=glob('./upload/*');

foreach($arr as $k => $v){
    $arr[$k]=iconv('GB2312','UTF-8',$arr[$k]);
}